package com.oitsm.plugin.entity;

import java.util.List;

import net.sf.json.JSONObject;

/**
 * 属性元数据
 * @author Arab Runner
 * Jul 30, 2011 3:30:06 PM
 */
public class PropMeta extends Meta{
	public PropMeta(){}
	
	public PropMeta(String name, String label, String type, String value,List<Option> options) {
		super(name,label,type,value);
		this.options = options;
	}
	
	private List<Option> options;

	public List<Option> getOptions() {
		return options;
	}

	public void setOptions(List<Option> options) {
		this.options = options;
	}
	
	@Override
	public String toString(){
		return JSONObject.fromObject(this).toString();
	}
}
